package cn.com.api.entity.base;

import java.io.Serializable;
import java.util.Date;

import javax.lang.model.type.PrimitiveType;

import cn.com.api.util.DateUtil;

import com.mysql.jdbc.Util;

// T_member_partner Entity

/// <summary>
/// Datetime: 2016/12/26 17:01:35		
/// Genegrated automatically. Don't write your logic code here.	
/// the entity of table T_member_partner.
/// </summary>

public class T_member_partnerBase implements Serializable {

	private static final long serialVersionUID = 00L;

	// Genegrated Automatically.

	// GUID Id
	private Integer id;

	// 申请人ID User_id
	private Integer user_id;

	// User_name
	private String user_name = "";

	// 手机号
	private String user_mobile = "";

	// 证件类型 1-身份证 2-军官证
	private Integer cred_type;

	// 证件编号 Cred_no
	private String cred_no = "";

	// 性别 0 男， 1女 Gender
	private Integer gender;

	// 证件照正面 Photo_front
	private String photo_front = "";

	// 证件照背面 Photo_back
	private String photo_back = "";

	// 申请人地址 Address
	private String address = "";

	// qrcode_img二维码
	private String qrcode_img = "";

	// 推荐人名 Referee_name
	private String referee_name = "";

	// 推荐人ID Referee_id
	private String referee_id = "";

	// 开户机构(公司)ID u_org表中的corp_code
	private String corp_id = "";

	// 开户机构名称 Corp_name
	private String corp_name = "";

	// 申请状态 0 提交待审核， 1审核通过， 2未通过 Status
	private Integer status;

	// 审核时间 Update_time
	private String update_time = "";

	// 审核不通过原因 Reason
	private String reason = "";

	// 申请时间 Apply_time
	private String apply_time = "";

	// 审核人ID Apply_uid
	private Integer apply_uid = 0;

	// 领取任务的id
	private String task_id = "";

	// 保证金是否已交；0-未交；1已交
	private Integer is_pay = 0;

	// 系统分配企业主时间(仅金牌时)
	private String allot_time = DateUtil.nowTimeToString();

	// 核伙人身份有效截止时间
	private String rule_deadline = "";

	private Integer bonus_ratio = 0;

	// Ext1
	private String ext1 = "";

	// Ext2
	private String ext2 = "";

	// Ext3
	private String ext3 = "";

	// Ext4
	private String ext4 = "";

	// Ext5
	private String ext5 = "";

	public T_member_partnerBase() {
		super();
	}

	public T_member_partnerBase(Integer id, Integer user_id, String user_name, Integer cred_type, String cred_no,
			Integer gender, String photo_front, String photo_back, String referee_name, String referee_id,
			String address, String corp_id, String corp_name, Integer status, String update_time, String reason,
			String apply_time, Integer apply_uid, String task_id, String ext1, String ext2, String ext3, String ext4,
			String ext5, String allot_time, String rule_deadline) {
		this.id = id;
		this.user_id = user_id;
		this.user_name = user_name;
		this.cred_type = cred_type;
		this.cred_no = cred_no;
		this.gender = gender;
		this.photo_front = photo_front;
		this.photo_back = photo_back;
		this.referee_name = referee_name;
		this.referee_id = referee_id;
		this.address = address;
		this.corp_id = corp_id;
		this.corp_name = corp_name;
		this.status = status;
		this.update_time = update_time;
		this.reason = reason;
		this.apply_time = apply_time;
		this.apply_uid = apply_uid;
		this.task_id = task_id;
		this.ext1 = ext1;
		this.ext2 = ext2;
		this.ext3 = ext3;
		this.ext4 = ext4;
		this.ext5 = ext5;
		this.allot_time = allot_time;
		this.rule_deadline = rule_deadline;
	}

	// User_name
	public String getUser_name() {
		return this.user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	// Cred_no
	public String getCred_no() {
		return this.cred_no;
	}

	public void setCred_no(String cred_no) {
		this.cred_no = cred_no;
	}

	// Photo_front
	public String getPhoto_front() {
		return this.photo_front;
	}

	public void setPhoto_front(String photo_front) {
		this.photo_front = photo_front;
	}

	// Photo_back
	public String getPhoto_back() {
		return this.photo_back;
	}

	public void setPhoto_back(String photo_back) {
		this.photo_back = photo_back;
	}

	// Referee_name
	public String getReferee_name() {
		return this.referee_name;
	}

	public void setReferee_name(String referee_name) {
		this.referee_name = referee_name;
	}

	// Address
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	// Corp_name
	public String getCorp_name() {
		return this.corp_name;
	}

	public void setCorp_name(String corp_name) {
		this.corp_name = corp_name;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	// Update_time
	public String getUpdate_time() {
		return this.update_time;
	}

	public void setUpdate_time(String update_time) {
		this.update_time = update_time;
	}

	// Reason
	public String getReason() {
		return this.reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	// Apply_time
	public String getApply_time() {
		return this.apply_time;
	}

	public void setApply_time(String apply_time) {
		this.apply_time = apply_time;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUser_id() {
		return user_id;
	}

	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}

	public String getReferee_id() {
		return referee_id;
	}

	public void setReferee_id(String referee_id) {
		this.referee_id = referee_id;
	}

	public String getCorp_id() {
		return corp_id;
	}

	public void setCorp_id(String corp_id) {
		this.corp_id = corp_id;
	}

	public Integer getApply_uid() {
		return apply_uid;
	}

	public void setApply_uid(Integer apply_uid) {
		this.apply_uid = apply_uid;
	}

	// Ext1
	public String getExt1() {
		return this.ext1;
	}

	public void setExt1(String ext1) {
		this.ext1 = ext1;
	}

	// Ext2
	public String getExt2() {
		return this.ext2;
	}

	public void setExt2(String ext2) {
		this.ext2 = ext2;
	}

	// Ext3
	public String getExt3() {
		return this.ext3;
	}

	public void setExt3(String ext3) {
		this.ext3 = ext3;
	}

	// Ext4
	public String getExt4() {
		return this.ext4;
	}

	public void setExt4(String ext4) {
		this.ext4 = ext4;
	}

	// Ext5
	public String getExt5() {
		return this.ext5;
	}

	public void setExt5(String ext5) {
		this.ext5 = ext5;
	}

	public Integer getCred_type() {
		return cred_type;
	}

	public void setCred_type(Integer cred_type) {
		this.cred_type = cred_type;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public String getUser_mobile() {
		return user_mobile;
	}

	public void setUser_mobile(String user_mobile) {
		this.user_mobile = user_mobile;
	}

	public String getQrcode_img() {
		return qrcode_img;
	}

	public void setQrcode_img(String qrcode_img) {
		this.qrcode_img = qrcode_img;
	}

	public String getTask_id() {
		return task_id;
	}

	public void setTask_id(String task_id) {
		this.task_id = task_id;
	}

	public Integer getIs_pay() {
		return is_pay;
	}

	public void setIs_pay(Integer is_pay) {
		this.is_pay = is_pay;
	}

	public String getRule_deadline() {
		return this.rule_deadline;
	}

	public void setRule_deadline(String rule_deadline) {
		this.rule_deadline = rule_deadline;
	}

	public String getAllot_time() {
		return this.allot_time;
	}

	public void setAllot_time(String time) {
		this.allot_time = time;
	}

	public Integer getBonus_ratio() {
		return bonus_ratio;
	}

	public void setBonus_ratio(Integer bonus_ratio) {
		this.bonus_ratio = bonus_ratio;
	}

}
